package com.java.common.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Room entity. @author MyEclipse Persistence Tools
 */

public class Room implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -5049937888835711772L;
	private String roomId;
	private Dept dept;
	private Emp emp;
	private String name;
	private String address;
	private String delif;
	private Set<ComputerRoom> computerRooms = new HashSet<ComputerRoom>(0);

	// Constructors

	/** default constructor */
	public Room() {
	}

	/** minimal constructor */
	public Room(String roomId) {
		this.roomId = roomId;
	}

	/** full constructor */
	public Room(String roomId, Dept dept, Emp emp, String name, String address,
			String delif, Set<ComputerRoom> computerRooms) {
		this.roomId = roomId;
		this.dept = dept;
		this.emp = emp;
		this.name = name;
		this.address = address;
		this.delif = delif;
		this.computerRooms = computerRooms;
	}

	// Property accessors

	public String getRoomId() {
		return this.roomId;
	}

	public void setRoomId(String roomId) {
		this.roomId = roomId;
	}

	public Dept getDept() {
		return this.dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public Emp getEmp() {
		return this.emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getDelif() {
		return this.delif;
	}

	public void setDelif(String delif) {
		this.delif = delif;
	}

	public Set<ComputerRoom> getComputerRooms() {
		return this.computerRooms;
	}

	public void setComputerRooms(Set<ComputerRoom> computerRooms) {
		this.computerRooms = computerRooms;
	}

}